package top.zhuyougu.demo1.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class User {
    private long id;
    private String nickname;
    private String email;
    @TableField(exist = false)
    List<Course> courses = new ArrayList<>();
}
